package com.noble.meether.ui.vip.bean;

import com.noble.library.base.bean.BaseData;

import org.json.JSONArray;

import java.util.ArrayList;

/**
 * VIP特权列表
 */
public class PrivilegeList extends BaseData{
    private ArrayList<Privilege> privilegeList = new ArrayList<>();

    @Override
    public void parseJson(String jsonStr) {
        JSONArray jsonArray = getJsonArray(jsonStr);
        this.privilegeList = (ArrayList<Privilege>) getBaseDataList(jsonArray, Privilege.class);
    }

    public ArrayList<Privilege> getPrivilegeList() {
        return privilegeList;
    }
}
